0214dba5c0cc74048a481c122bded8ec32bb4d53,app/src/processing/app/tools/ExportExamples.java,ExportExamples,handle,#Editor#,89

Before Change


  public boolean handle(Editor editor) throws SketchException, IOException {
    Sketch sketch = editor.getSketch(); 
    JavaBuild build = new JavaBuild(sketch);    
    File appletFolder = new File(sketch.getFolder(), "applet");
    return build.exportApplet(appletFolder);
  }

After Change


  
  public boolean handle(Editor editor) throws SketchException, IOException {
    Sketch sketch = editor.getSketch();
    File sketchFolder = sketch.getFolder();
    String sketchPath = sketchFolder.getAbsolutePath();
    String uniquePath = sketchPath.substring(examplesPath.length());
    File sketchTarget = new File(outputFolder, uniquePath);